{
    let rem = function () {
        let realWidth = document.documentElement.clientWidth;
        document.documentElement.style.fontSize = (realWidth / 12.42).toFixed(4) + 'px'
    }

    rem()

    window.onresize = function () {
        rem()
    }
}